package test2;

import java.util.ArrayList;

public class test {
    public static void main(String[] args) {

        ArrayList<Movie>  arrs = new ArrayList<>();
        arrs.add(new Movie("电影名字","9.5评分"));
        arrs.add(new Movie("电影名字2","8.5评分"));
        for (Movie arr : arrs) {
            System.out.println(arr.name + arr.score);
        }
    }
}
